//
//  Speaker.h
//  SHPE Conference Companion
//
//  Created by Richard Kirk on 3/25/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
/*
 API Example for Speaker class : 
 
<?xml version="1.0" encoding="UTF-8"?>
<conference-speaker xmlns="http://openshpe.shpe.org/conference" xmlns:xlink="http://www.w3.org/1999/xlink" id="2" xlink:photo="http://openshpe.staging.shpe.org/conference/v1/speaker/2/photo/">
     <name first="Fernando" last="Rosario"/>
     <title>President</title>
     <organizationOrCompany>Exeqpath LLC</organizationOrCompany>
     <email>frosario@exeqpath.com</email>
     <linkedIn>http://www.linkedin.com/pub/fernando-rosario/1/567/844</linkedIn>
     <website>http://www.exeqpath.com</website>
     <biography>Fernando Rosario is the president and founder of Exeqpath LLC. Established in 2007, the company is dedicated to the professional development of mid-level executives and managers as well as the early leadership development of students at the undergraduate and graduate level. Exeqpath''s objective is to identify and develop high-potential leaders by providing them with the executive coaching, tools and ''know-how'' to successfully climb the corporate ladder. Fernando is an active member, recruiter, and coach for organizations such as the Society of Hispanic Professional Engineers (SHPE), the National Society of Black Engineers (NSBE), the National Society of Hispanic MBAs (NSHMBA), the Puerto Rico Leadership Conference (PRLC), the Latin American Engineering Student Association (LAESA), and the National Institute for Leadership Advancement (NILA). Fernando is currently a corporate executive at Accenture. During his thirteen year tenure in consulting he had the opportunity to work with Fortune 500 clients in the financial services, retail, and technology sectors; developing and delivering large scale technology projects in the banking, eCommerce, mortgage, risk management, credit and debit card, call center, mobile application, and payment infrastructure areas. In addition, Fernando serves as the Hispanic community lead within Accenture as part of the U.S. Diversity Program. Fernando is a board member of the SHPE Industrial Partnership Council (IPC) where he represents Accenture, and he was recently selected as one of the 100 Most Influential Hispanics in IT by the Hispanic IT Executive Council.</biography>
     <conference id="110" xlink:href="http://openshpe.staging.shpe.org/conference/v1/conference/110/"/>
</conference-speaker> 
 */



#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>

@class Conference, Session;

@interface Speaker : NSManagedObject <NSXMLParserDelegate> {
@private
}
@property (nonatomic, retain) NSNumber * id;
@property (nonatomic, retain) NSString * firstName;
@property (nonatomic, retain) NSString * lastName;
@property (nonatomic, retain) NSString * biography;
@property (nonatomic, retain) NSString * website;
@property (nonatomic, retain) NSString * linkedIn;
@property (nonatomic, retain) NSString * email;
@property (nonatomic, retain) NSString * organizationOrCompany;
@property (nonatomic, retain) NSString * title;
@property (nonatomic, retain) NSString * photoURL;
@property (nonatomic, retain) NSData * photoData;
@property (nonatomic, retain) Conference * conference;
@property (nonatomic, retain) NSSet* sessions;
@property (nonatomic, retain) id parent;

@property (nonatomic, retain) NSXMLParser *xmlParser;
@property (nonatomic, retain) NSMutableString *xmlStringBuilder;



-(id)initWithParser:(NSXMLParser *)parser attributeDict:(NSDictionary *)attributes parent:(id)parentObject;
-(id)initWithSpeakerId:(int) speakerId;







@end
